package com.ruoyi.home.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class CwPaymentPlanDto extends BaseEntity {
    // 款项
    private int itemType;
    // 支付金额（应付金额）
    private BigDecimal paymentAmount;
    // 账期开始日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paymentDaysBegin;
    // 账期截止日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paymentDaysEnd;
    // 应付日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payableDate;
    /**
     * 付款状态 1:未收款 2：已收款 3：已中止
     */
    private Integer skStatus;
    // 第几期
    private int payNumber;
    // 租金
    private BigDecimal rentalPrice;
    // 税费
    private BigDecimal tax;

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public Date getPaymentDaysBegin() {
        return paymentDaysBegin;
    }

    public void setPaymentDaysBegin(Date paymentDaysBegin) {
        this.paymentDaysBegin = paymentDaysBegin;
    }

    public Date getPaymentDaysEnd() {
        return paymentDaysEnd;
    }

    public void setPaymentDaysEnd(Date paymentDaysEnd) {
        this.paymentDaysEnd = paymentDaysEnd;
    }

    public Date getPayableDate() {
        return payableDate;
    }

    public void setPayableDate(Date payableDate) {
        this.payableDate = payableDate;
    }

    public Integer getSkStatus() {
        return skStatus;
    }

    public void setSkStatus(Integer skStatus) {
        this.skStatus = skStatus;
    }

    public int getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(int payNumber) {
        this.payNumber = payNumber;
    }

    public BigDecimal getRentalPrice() {
        return rentalPrice;
    }

    public void setRentalPrice(BigDecimal rentalPrice) {
        this.rentalPrice = rentalPrice;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    @Override
    public String toString() {
        return "CwPaymentPlanDto{" +
                "itemType=" + itemType +
                ", paymentAmount=" + paymentAmount +
                ", paymentDaysBegin=" + paymentDaysBegin +
                ", paymentDaysEnd=" + paymentDaysEnd +
                ", payableDate=" + payableDate +
                ", skStatus=" + skStatus +
                ", payNumber=" + payNumber +
                ", rentalPrice=" + rentalPrice +
                ", tax=" + tax +
                '}';
    }
}
